package com.imc.beans;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * ImcOrganInfo entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "imc_organ_info", catalog = "imcdbserver")
public class ImcOrganInfo implements java.io.Serializable {

	// Fields

	private Integer organId;
	private String organName;
	private Integer organPid;
	private String organDate;
	private Integer corpId;
	private String organDescrible;
	private Integer organPosition;
	private Integer level;
	private Integer xwtJigouId;
	private Integer isXiafa;

	// Constructors

	/** default constructor */
	public ImcOrganInfo() {
	}

	/** full constructor */
	public ImcOrganInfo(String organName, Integer organPid, String organDate,
			Integer corpId, String organDescrible, Integer organPosition,
			Integer level, Integer xwtJigouId, Integer isXiafa) {
		this.organName = organName;
		this.organPid = organPid;
		this.organDate = organDate;
		this.corpId = corpId;
		this.organDescrible = organDescrible;
		this.organPosition = organPosition;
		this.level = level;
		this.xwtJigouId = xwtJigouId;
		this.isXiafa = isXiafa;
	}

	// Property accessors
	@Id
	@GeneratedValue
	@Column(name = "organ_id", unique = true, nullable = false)
	public Integer getOrganId() {
		return this.organId;
	}

	public void setOrganId(Integer organId) {
		this.organId = organId;
	}

	@Column(name = "organ_name", length = 150)
	public String getOrganName() {
		return this.organName;
	}

	public void setOrganName(String organName) {
		this.organName = organName;
	}

	@Column(name = "organ_pid")
	public Integer getOrganPid() {
		return this.organPid;
	}

	public void setOrganPid(Integer organPid) {
		this.organPid = organPid;
	}

	@Column(name = "organ_date", length = 20)
	public String getOrganDate() {
		return this.organDate;
	}

	public void setOrganDate(String organDate) {
		this.organDate = organDate;
	}

	@Column(name = "corp_id")
	public Integer getCorpId() {
		return this.corpId;
	}

	public void setCorpId(Integer corpId) {
		this.corpId = corpId;
	}

	@Column(name = "organ_describle", length = 150)
	public String getOrganDescrible() {
		return this.organDescrible;
	}

	public void setOrganDescrible(String organDescrible) {
		this.organDescrible = organDescrible;
	}

	@Column(name = "organ_position")
	public Integer getOrganPosition() {
		return this.organPosition;
	}

	public void setOrganPosition(Integer organPosition) {
		this.organPosition = organPosition;
	}

	@Column(name = "Level")
	public Integer getLevel() {
		return this.level;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}

	@Column(name = "xwt_jigou_id")
	public Integer getXwtJigouId() {
		return this.xwtJigouId;
	}

	public void setXwtJigouId(Integer xwtJigouId) {
		this.xwtJigouId = xwtJigouId;
	}

	@Column(name = "is_xiafa")
	public Integer getIsXiafa() {
		return this.isXiafa;
	}

	public void setIsXiafa(Integer isXiafa) {
		this.isXiafa = isXiafa;
	}

}